package com.tangula.web.kashine.business;

import java.util.List;

import com.tangula.web.form.DefaultPagingBody;
import com.tangula.web.kashine.entity.AccountEntity;
import com.tangula.web.kashine.entity.IntegerForm;
import com.tangula.web.kashine.entity.OrgForm;
import com.tangula.web.kashine.entity.OrgStudentForm;
import com.tangula.web.kashine.entity.OrgTeacherForm;
import com.tangula.web.kashine.entity.PagableForm;
import com.tangula.web.kashine.entity.SaleProducesForm;
import com.tangula.web.kashine.entity.SendMoneyToTeacherForm;
import com.tangula.web.kashine.entity.StudentAccountForm;
import com.tangula.web.kashine.entity.TeacherForm;


public interface OrgBusiness {

	
	AccountEntity removeOrgTeacher(TeacherForm teacher);

	AccountEntity addOrgTeacher(OrgTeacherForm orgteacher);


	boolean removeOrgStudent(String studentId,String orgId);


	boolean addOrgStudent(OrgStudentForm orgstudent);

	List<AccountEntity> assignCash(SendMoneyToTeacherForm send);

	DefaultPagingBody<AccountEntity> loadOrg(PagableForm pag);

	AccountEntity changeStatusToN(OrgForm org);

	IntegerForm loadOrgSize(OrgForm org);

	AccountEntity blockOrg(OrgForm org);

	DefaultPagingBody<AccountEntity> showNoOrgTeacher(PagableForm pag);

	AccountEntity unblockOrg(OrgForm org);

	AccountEntity changeStatusToY(OrgForm org);

	AccountEntity blockOrUnBlockOrg(OrgForm org);

	Boolean saleProductToStudent(SaleProducesForm sale);

	DefaultPagingBody<StudentAccountForm> loadStudentsOutOfOrg(PagableForm form);

	boolean removeOrgStudentById(String orgId,String studentId);

	boolean block(String id);
	
	boolean unblock(String id);

	AccountEntity loadOrgDetail(String id);



	

	

	

}
